class TestEntity extends Entity
{
	public TestEntity(double xp, double yp)
	{
		x = xp;
		y = yp;
		loadImage("images/monster.rwe");
	}
	
	public void damage(int d)
	{
		
	}
	
	public void recalculateBoundingBox()
	{
		int tx[] = new int[xloc.length];
		int ty[] = new int[yloc.length];
		
		for(int a = 0; a < tx.length; a++)
		{
			tx[a] = xloc[a] + (int)x - image.getWidth(null)/2;
			ty[a] = yloc[a] + (int)y - image.getHeight(null)/2;
		}
		
		boundingBox = new java.awt.Polygon(tx,ty,xloc.length);
	}
	
	public void collide(Entity e)
	{
		e.damage(50);
		mark();
	}
	
	public void move(){}
}